package com.swy.config.tokenstrategy;

import org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer;
import org.springframework.security.oauth2.provider.token.TokenStore;

/**
 * @Author:Xujingjian
 * @时间: 2018/10/22
 * @描述:
 */

public interface ITokenStrategy {

    public TokenStore tokenStore();

    public void configure(ClientDetailsServiceConfigurer clients) throws Exception;

    public void configure(AuthorizationServerEndpointsConfigurer endpoints);

    public void configure(AuthorizationServerSecurityConfigurer oauthServer);
}
